<?php
/**
 * Created by PhpStorm.
 * User: asus
 * Date: 2017/3/16
 * Time: 20:56
 */

namespace Home\Controller;


use Think\Controller;

class NavController extends Controller{

    public function __construct(){
        parent::__construct();
        $catModel = D('Admin/Category');
        $catData = $catModel->getNavData();
        $this->assign('catData',$catData);
    }
}